<script>
var check = false;

function checkfans(){
	if(!check){
		check = true;
	  //  	$.ajax({
			//  type:'POST',
			//  data:{},
			//  dataType : "json",
			//  url:'/{php echo createMobileUrl("fans",array("op"=>"check","themeid"=>$themeid,"workerid"=>$workerid,"fromuid"=>$fromuid,"fopenid"=>$fopenid));}',
			//  success:function(data){
			// 	  var json = data.message;
			// 	  if(json.errcode == 0){
					  
			// 	  }else if(json.errcode == 110){
			// 		  alert(json.msg);
			// 	  }
			//  }
		 // });

	   	$.ajax({
			 type:'POST',
			 data:{},
			 dataType : "json",
			 url:'/{php echo createMobileUrl("fahongbao",array("op"=>"comm","themeid"=>$themeid));}',
			 success:function(data){
				  var json = data.message;
				  if(json.errcode == 0){
					  
				  }else if(json.errcode == 110){
					  alert(json.msg);
				  }
			 }
		 });
	}
	
}
checkfans();

</script>